

import {hrAjax as proFetch} from '../../../../../../hrpub/common/utils/utils';



export default function(type, postData) {

    let url = '/nccloud/hrhi/keypsn/GroupAddAction.do';

    if(type === 'change') {
        url = '/nccloud/hrhi/keypsn/GroupEditAction.do';
    }

    return proFetch({
        url: url,
        body: postData
    });

}